home *** CD-ROM | disk | FTP | other *** search
- light("omni")
- {
- pass()
- {
- tmu()
- {
- Texture()
- {
- Image(%detail1texture)
- }
- colorop("mul", "texture", "tfactor", "current")
- alphaop("mul", "texture", "tfactor", "current")
- }
- tmu()
- {
- TexGen("planar")
- TexMod("scale", "const", %terrain_inv_x, 0, 0, "const", %terrain_inv_z, 0, 0)
- Texture()
- {
- Image(%colortexture)
- }
- colorop("mul", "texture", "current", "current")
- alphaop("mul", "texture", "current", "current")
- }
-
- tmu()
- {
- texture()
- {
- image("dynlight2d.png")
- addressfunc("clamp", "clamp", "clamp")
- filtering("linear_no_mip")
- }
-
- texgen("dynlight2d")
-
- colorop("mul", "texture", "current", "current")
- alphaop("mul", "texture", "current", "current")
- }
-
- tmu()
- {
- texture()
- {
- image("dynlight1d.png")
- addressfunc("clamp", "clamp", "clamp")
- filtering("linear_no_mip")
- }
-
- texgen("dynlight1d")
-
- colorop("mul", "texture", "current", "current")
- alphaop("mul", "texture", "current", "current")
- }
-
- tfactor(1,1,1,1)
- colorgen("tfactor", "user", 0,0,0, "user", 0,0,0)
-
- blendfunc("one", "one")
- depthfunc("lequal", 0)
-
- blackfog()
- }
- }
-
-